#!/bin/sh

if test -z "$1" 
then
    echo "Please give absolute URL"
    return
fi

echo "UPDATE core_config_data 
SET value = '$1' 
WHERE path = 'web/unsecure/base_url' 
OR path = 'web/unsecure/base_url';
" | mysql -uroot -p health_and_care
